package com.amigo.online.provider.manager.model.entity;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.amigo.online.provider.manager.util.param.dto.PageDto;

@Table(name = "merchant_tbl")
@Alias(value = "merchantTbl")
public class MerchantTbl extends PageDto {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    /**
     * 用户表中id
     */
    @Column(name = "user_id")
    private Long userId;

    /**
     * 公司名
     */
    @Column(name = "company_name")
    private String companyName;

    /**
     * 店铺名
     */
    @Column(name = "merchant_name")
    private String merchantName;

    /**
     * 商铺头像
     */
    @Column(name = "merchant_avatar")
    private String merchantAvatar;

    /**
     * 统一社会信用代码
     */
    @Column(name = "unified_social_credit_code")
    private String unifiedSocialCreditCode;

    /**
     * 法定代表人
     */
    @Column(name = "legal_person")
    private String legalPerson;

    /**
     * 运营者手机号码
     */
    @Column(name = "operator_phone_number")
    private String operatorPhoneNumber;

    /**
     * 身份证正面照片
     */
    @Column(name = "identity_card_front")
    private String identityCardFront;

    /**
     * 身份证反面照片
     */
    @Column(name = "identity_card_opposite")
    private String identityCardOpposite;

    /**
     * 营业执照照片
     */
    @Column(name = "business_license_front")
    private String businessLicenseFront;

    /**
     * 门店区域id
     */
    @Column(name = "store_area_id")
    private Long storeAreaId;

    /**
     * 门店地址
     */
    @Column(name = "store_adderss")
    private String storeAdderss;

    /**
     * 维度
     */
    @Column(name = "lat")
    private String lat;

    /**
     * 经度
     */
    @Column(name = "lng")
    private String lng;

    /**
     * 发票接收电子邮箱
     */
    @Column(name = "email")
    private String email;

    /**
     * 商家品类
     */
    @Column(name = "category_id")
    private Long categoryId;

    /**
     * 商家固定电话
     */
    @Column(name = "merchant_phone_number")
    private String merchantPhoneNumber;

    /**
     * 营业开始时间(eg: 9:00-21:45)
     */
    @Column(name = "start_time")
    private String startTime;

    /**
     * 营业结束时间(eg: 9:00-21:45)
     */
    @Column(name = "end_time")
    private String endTime;

    /**
     * 营业开始周(eg: 周一至周五)
     */
    @Column(name = "start_week")
    private Integer startWeek;

    /**
     * 营业结束周(eg: 周一至周五)
     */
    @Column(name = "end_week")
    private Integer endWeek;
    /**
     * 综合评分，满分10分
     */
    @Column(name = "grade")
    private Integer grade;

    /**
     * 0-审核失败 1-审核中 2-审核成功
     */
    @Column(name = "status")
    private Integer status;

    /**
     * 修改时间
     */
    @Column(name = "updated_time")
    private Long updatedTime;

    /**
     * 1删除 0未删除
     */
    @Column(name = "deleted")
    private Short deleted;

    @Column(name = "deleted_time")
    private Long deletedTime;

    @Column(name = "hot_weight")
    private BigDecimal hotWeight;


    public BigDecimal getHotWeight() {
        return hotWeight;
    }

    public void setHotWeight(BigDecimal hotWeight) {
        this.hotWeight = hotWeight;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getMerchantAvatar() {
        return merchantAvatar;
    }

    public void setMerchantAvatar(String merchantAvatar) {
        this.merchantAvatar = merchantAvatar;
    }

    public String getUnifiedSocialCreditCode() {
        return unifiedSocialCreditCode;
    }

    public void setUnifiedSocialCreditCode(String unifiedSocialCreditCode) {
        this.unifiedSocialCreditCode = unifiedSocialCreditCode;
    }

    public String getLegalPerson() {
        return legalPerson;
    }

    public void setLegalPerson(String legalPerson) {
        this.legalPerson = legalPerson;
    }

    public String getOperatorPhoneNumber() {
        return operatorPhoneNumber;
    }

    public void setOperatorPhoneNumber(String operatorPhoneNumber) {
        this.operatorPhoneNumber = operatorPhoneNumber;
    }

    public String getIdentityCardFront() {
        return identityCardFront;
    }

    public void setIdentityCardFront(String identityCardFront) {
        this.identityCardFront = identityCardFront;
    }

    public String getIdentityCardOpposite() {
        return identityCardOpposite;
    }

    public void setIdentityCardOpposite(String identityCardOpposite) {
        this.identityCardOpposite = identityCardOpposite;
    }

    public String getBusinessLicenseFront() {
        return businessLicenseFront;
    }

    public void setBusinessLicenseFront(String businessLicenseFront) {
        this.businessLicenseFront = businessLicenseFront;
    }

    public Long getStoreAreaId() {
        return storeAreaId;
    }

    public void setStoreAreaId(Long storeAreaId) {
        this.storeAreaId = storeAreaId;
    }

    public String getStoreAdderss() {
        return storeAdderss;
    }

    public void setStoreAdderss(String storeAdderss) {
        this.storeAdderss = storeAdderss;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getMerchantPhoneNumber() {
        return merchantPhoneNumber;
    }

    public void setMerchantPhoneNumber(String merchantPhoneNumber) {
        this.merchantPhoneNumber = merchantPhoneNumber;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Integer getStartWeek() {
        return startWeek;
    }

    public void setStartWeek(Integer startWeek) {
        this.startWeek = startWeek;
    }

    public Integer getEndWeek() {
        return endWeek;
    }

    public void setEndWeek(Integer endWeek) {
        this.endWeek = endWeek;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Long updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Short getDeleted() {
        return deleted;
    }

    public void setDeleted(Short deleted) {
        this.deleted = deleted;
    }

    public Long getDeletedTime() {
        return deletedTime;
    }

    public void setDeletedTime(Long deletedTime) {
        this.deletedTime = deletedTime;
    }

}
